<style lang="less">
    @import "./roles-detail.less";
</style>

<template>
    <Card>
        roles-detail
    </Card>
</template>

<script>
export default {
    data () {
        return {
            roleName: null,
        };
    },
    mounted() {
        const roleName = this.$route.params.roleName;
        this.$data.roleName = roleName;
        if (roleName) {
            this.init(roleName);
        } else {
            this.$router.push({ name: 'error-404' });
        }
    },
    computed: {
    },
    methods: {
    }
};
</script>
